package com.sharp.portal.dao.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.persistence.*;
import lombok.Data;

 /**
 * Title: CoPortalCondition
 * Description: Copyright: Copyright (c) 2022 Company: Sharp Ltd.
 *
 * @author Sharp
 * @date 2022/10/08 13:34
 */

/**
 * 条件查询配置
 */
@ApiModel(value = "条件查询配置")
@Data
@Table(name = "co_portal_condition")
public class CoPortalCondition {
    /**
     * 页面路径
     */
    @Column(name = "`path`")
    @ApiModelProperty(value = "页面路径")
    private String path;

    /**
     * 字段名
     */
    @Column(name = "property")
    @ApiModelProperty(value = "字段名")
    private String property;

    /**
     * 查询关系
     */
    @Column(name = "relation")
    @ApiModelProperty(value = "查询关系")
    private Integer relation;

    /**
     * 状态
     */
    @Column(name = "`status`")
    @ApiModelProperty(value = "状态")
    private String status;
}